package com.yonyou.brigade.ybz.controller;

import com.yonyou.brigade.ybz.service.IBriOrderNoteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/ybz/ordernote")
public class BriOrderNoteController {

    @Autowired
    @Qualifier("briOrderNoteServiceImpl")
    private IBriOrderNoteService briOrderNoteService;

    @RequestMapping(value = "/byybzids" ,method = RequestMethod.POST)
    public @ResponseBody
    Map<String,List<String>> getNotePksByYBZIds(@RequestBody Map params)
    {
        return  briOrderNoteService.getNotePksByYBZIds(params);
    }
}
